c = {1:10, [2;4;6], []};
averagesn = cellfun(@mean, c)
[nrows,ncols] = cellfun(@size, c)

